package com.example.bootdemo.mq1;



//@Component
public class RocketMQProducer {

  //  @Autowired
  //  private RocketMQTemplate rocketMQTemplate;

    // 发送消息
    public void sendMessage(String topic, String msg) {
      //  rocketMQTemplate.convertAndSend(topic, msg);
    }

}

